package cn.cdeden.knowledge.domain.dto;

import com.alibaba.fastjson.JSONObject;
//import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotEmpty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

//import javax.validation.constraints.NotEmpty;

/**
 * @ProjectName : ecm_svn
 * @Package : com.cdyd.ecm.modules.online.domain
 * @ClassName : OnlinePreviewDto
 * @Author : Yu.
 * @Description : // TODO
 * @Date : 2024/4/15 9:36
 * @Version : 1.0
 */


@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class OnlinePreviewInfoDto {

//    @ApiModelProperty(value = "文件编号")
    @NotEmpty(message = "文件编号不能为null")
    private String id ;

//    @ApiModelProperty(value = "文件历史版本编号")
    private String edition;

//    @ApiModelProperty(value = "用户名")
    private String name;

//    @ApiModelProperty(value = "类型 不同模块库编码")
    @NotEmpty(message = "类型不能为null")
    private String type;

//    @ApiModelProperty(value = "携带其他信息")
    private JSONObject  info;



}
